package org.xutils.db.model;


/**
 * Created by zzh on 2024/7/30.
 *
 * @date: 2024/7/30 17:37
 * @email: zzh_hz@126.com
 * @author: zzh
 * @description: org.xutils.db.model。
 * 数据库表：sqlite_master
 * type  text,
 * name text,
 * tbl_name text,
 * rootpage Integer,
 * sql text.
 */
public class DDLTableModel {
    /**
     * 对应sqlite_master中 type 字段
     */
    private String type;
    /**
     * 对应sqlite_master中，name字段
     */
    private String name;
    /**
     * 对应sqlite_master中，rootpage字段
     */
    private int rootpage;
    /**
     * 对应sqlite_master中，tbl_name字段
     */
    private String tbl_name;
    /**
     * 对应sqlite_master中，sql字段
     */
    private String sql;

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getRootpage() {
        return rootpage;
    }

    public void setRootpage(int rootpage) {
        this.rootpage = rootpage;
    }

    public String getTbl_name() {
        return tbl_name;
    }

    public void setTbl_name(String tbl_name) {
        this.tbl_name = tbl_name;
    }

    public String getSql() {
        return sql;
    }

    public void setSql(String sql) {
        this.sql = sql;
    }

    public DDLTableModel() {
    }

    public DDLTableModel(String type, String name, int rootpage, String tbl_name, String sql) {
        this.type = type;
        this.name = name;
        this.rootpage = rootpage;
        this.tbl_name = tbl_name;
        this.sql = sql;
    }
}
